﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OperaHouse.Domain.News;
using OperaHouse.Common;

namespace OperaHouse.Business.News
{
    public partial interface INewsService
    {
        IList<NewsItem> GetAllNewsItems();

        IPagedList<NewsItem> GetAllNews(bool? ispublished, int pageIndex, int pageSize);

        NewsItem GetNewsById(int id);

        void InsertNews(NewsItem news);

        void UpdateNews(NewsItem news);

        void DeleteNews(NewsItem news);
    }
}
